import 'package:flutter/material.dart';
import 'package:flutter_app/TstStack.dart';
class TwoPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) => Scaffold(
          body: ListView(
        children: <Widget>[
          ListTile(
            title: Text('Stack'),
            subtitle: Text('Stack 相当于Android中的 FrameLayout,层叠效果 '),
            onTap: () {

              Navigator.push(context, MaterialPageRoute(builder: (context){

                return TstStack();
              }));

            },
          ),
        ],
      ));
}
